package com.lyk.service.impl;

import java.util.List;
import java.util.Map;

import com.common.entity.A_markup;
import com.common.entity.PageBean;
import com.lyk.dao.A_markupDao;
import com.lyk.dao.impl.A_markupDaoImpl;
import com.lyk.service.A_markupService;

public class A_markupServiceImpl implements A_markupService {
	private A_markupDao markupDao = new A_markupDaoImpl();
	@Override
	public List<A_markup> findByCondition(Map<String, Object> mp) {
		return markupDao.findByCondition(mp);
	}

	@Override
	public A_markup findById(Integer n) {
		return markupDao.findById(n);
	}

	@Override
	public int changemarkup(A_markup markup) {
		return markupDao.changemarkup(markup);
	}

	@Override
	public int delA_adminer(Integer n) {
		return markupDao.delA_markup(n);
	}

	@Override
	public int saveEmp(A_markup markup) {
		return markupDao.saveEmp(markup);
	}

	@Override
	public PageBean<A_markup> findPageByCondition(int pageIndex, int pageSize,
			Map<String, Object> map) {
		return markupDao.findPageByCondition(pageIndex, pageSize, map);
	}

}
